var usertype = [[${usertype}]]
;
if (usertype == "2" || usertype == "3"
) {
    var _menus = {
        "menus":
            [{
                "menuid": "2",
                "icon": "",
                "menuname": "学生信息管理",
                "menus":
                    [
                        {
                            "menuid": "21",
                            "menuname": "学生列表",
                            "icon": "icon-user-student",
                            "url": "/student/toList"/*[[@{/student/student_list}]]*/
                        },
                    ]
            },
                {
                    "menuid": "4",
                    "icon": "",
                    "menuname": "班级信息管理",
                    "menus":
                        [

                            {

                                "menuid": "42",
                                "menuname": "班级列表",
                                "icon": "icon-house",
                                "url": "/clazz/toList"/*[[@{/clazz/clazz_list}]]*/
                            }
                        ]
                },
                {
                    "menuid": "3",
                    "icon": "",
                    "menuname": "教师信息管理",
                    "menus":
                        [
                            {
                                "menuid": "31",
                                "menuname": "教师列表",
                                "icon": "icon-user-teacher",
                                "url": "/teacher/toList"/*[[@{/teacher/teacher_list}]]*/
                            },
                        ]
                },
                {
                    "menuid": "6",
                    "icon": "",
                    "menuname": "课程信息管理",
                    "menus":
                        [
                            {
                                "menuid": "61",
                                "menuname": "课程列表",
                                "icon": "icon-book-open",
                                "url": "/course/toList"/*[[@{/course/course_list}]]*/
                            },
                        ]
                },
                {
                    "menuid": "7",
                    "icon": "",
                    "menuname": "选课信息管理",
                    "menus":
                        [
                            {
                                "menuid": "71",
                                "menuname": "选课列表",
                                "icon": "icon-book-open",
                                "url": "/course/selectList"/*[[@{/selectedCourse/selectedCourse_list}]]*/
                            },
                        ]
                },
                {
                    "menuid": "8",
                    "icon": "",
                    "menuname": "考勤信息管理",
                    "menus":
                        [
                            {
                                "menuid": "81",
                                "menuname": "考勤列表",
                                "icon": "icon-book-open",
                                "url": "/attendance/toList"/*[[@{/attendance/attendance_list}]]*/
                            },
                        ]
                },
                {
                    "menuid": "9",
                    "icon": "",
                    "menuname": "请假信息管理",
                    "menus": [
                        {
                            "menuid": "91",
                            "menuname": "请假列表",
                            "icon": "icon-book-open",
                            "url": "/leave/toList"/*[[@{/leave/leave_list}]]*/
                        },
                    ]
                },
                {
                    "menuid": "10",
                    "icon": "",
                    "menuname": "成绩信息管理",
                    "menus": [
                        {
                            "menuid": "101",
                            "menuname": "成绩列表",
                            "icon": "icon-book-open",
                            "url": "/score/toList"/*[[@{/score/score_list}]]*/
                        },
                        {
                            "menuid": "101",
                            "menuname": "成绩统计",
                            "icon": "icon-book-open",
                            "url": "/score/toScoreStats" /*[[@{/score/scoreStats}]]*/
                        },

                    ]
                },
                {
                    "menuid": "5",
                    "icon": "",
                    "menuname": "系统管理",
                    "menus": [
                        {
                            "menuid": "51",
                            "menuname": "修改密码",
                            "icon": "icon-set",
                            "url": "/system/modify"/*[[@{/system/personalView}]]*/
                        },
                    ]
                }
            ]
    };
}
if (usertype == "1"
) {
    var _menus = {
        "menus": [
            {
                "menuid": "2",
                "icon": "",
                "menuname": "学生信息管理",
                "menus": [
                    {
                        "menuid": "21",
                        "menuname": "学生列表",
                        "icon": "icon-user-student",
                        "url": ""/*[[@{/student/student_list}]]*/
                    },
                ]
            },
            {
                "menuid": "7",
                "icon": "",
                "menuname": "选课信息管理",
                "menus": [
                    {
                        "menuid": "71",
                        "menuname": "选课列表",
                        "icon": "icon-book-open",
                        "url": ""/*[[@{/selectedCourse/selectedCourse_list}]]*/
                    },
                ]
            },
            {
                "menuid": "8",
                "icon": "",
                "menuname": "考勤信息管理",
                "menus": [
                    {
                        "menuid": "81",
                        "menuname": "考勤列表",
                        "icon": "icon-book-open",
                        "url": ""/*[[@{/attendance/attendance_list}]]*/
                    },
                ]
            },
            {
                "menuid": "9",
                "icon": "",
                "menuname": "请假信息管理",
                "menus": [
                    {
                        "menuid": "91",
                        "menuname": "请假列表",
                        "icon": "icon-book-open",
                        "url": ""/*[[@{/leave/leave_list}]]*/
                    },
                ]
            },
            {
                "menuid": "10",
                "icon": "",
                "menuname": "成绩信息管理",
                "menus": [
                    {
                        "menuid": "101",
                        "menuname": "成绩列表",
                        "icon": "icon-book-open",
                        "url": ""/*[[@{/score/score_list}]]*/
                    }
                ]
            },
            {
                "menuid": "5",
                "icon": "",
                "menuname": "系统管理",
                "menus": [
                    {
                        "menuid": "51",
                        "menuname": "修改密码",
                        "icon": "icon-set",
                        "url": ""/*[[@{/system/personalView}]]*/
                    },
                ]
            }
        ]
    };
}
